package com.muyu.system.domain.dto;

import com.muyu.system.domain.enums.OrderSourceEnum;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author Administrator
 */
@Data
public class ConfirmShipmentDTO {
    /**
     * 订单id
     */
    @NotNull(message = "订单id不能为空")
    private Long orderId;


    /**
     * 订单来源
     */
    @NotNull(message = "订单来源不能为空")
    private OrderSourceEnum source;


    /**
     * 物流公司
     */
    @NotBlank(message = "物流公司不能为空")
    private String deliveryCompany;
    /**
     * 物流单号
     */
    @NotBlank(message = "物流单号不能为空")
    private String deliverySn;
}
